# Get task history

Returns the history of actions performed on the specified task within the current account context.
            
Behavior:
- Validates account and user context
- Verifies the task belongs to the account
- Retrieves task history records
- Returns structured task history response data
- Logs the action as task history view

Endpoint: GET /api/v1/tm/tasks/{taskid}/history

## Path parameters:

  - `taskid` (string, required)

## Response 200 fields (text/plain):

  - `data` (array,null)

  - `data.taskHistoryId` (string)

  - `data.profilePic` (string,null)

  - `data.actionDoneByName` (string,null)

  - `data.actionDoneOn` (string,null)

  - `data.actionDescription` (string,null)

  - `data.actionName` (string,null)

  - `data.responseDescription` (string,null)

  - `data.taskHistoryType` (string,null)

  - `data.updatedFieldName` (string,null)

  - `data.updatedFieldValue` (string,null)

  - `data.hasFile` (boolean)

  - `message` (string,null)

  - `isError` (boolean)

  - `messageCode` (integer)

  - `status` (string,null)

  - `errorType` (string,null)

  - `traceid` (string,null)

  - `responseDescription` (string,null)


